<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录成功</title>
<style>
    body {
        font-family: Arial, sans-serif;
        background-color: #f4f4f4;
        text-align: center;
        padding-top: 50px;
    }
    .container {
        width: 50%;
        margin: auto;
        background: white;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    .logout-button {
        position: absolute;
        top: 20px;
        right: 30px;
    }
</style>
</head>
<body>
<div class="container">
    <h1>欢迎！您已成功登录。</h1>
    <p>这是您的个人主页。</p>

    <!-- 退出按钮 -->
    <form action="/logout" method="post" style="display:inline;">
        <button type="submit" class="logout-button">退出</button>
    </form>
</div>
</body>
</html>